home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / qbear.swf / scripts / frame_388 / DoAction.as
Text File  |  2007-01-15  |  741b  |  46 lines

  1. set("/:balls","0");
  2. set("/:bluto","0");
  3. stopAllSounds();
  4. if(eval("/:lives") eq "4")
  5. {
  6.    tellTarget("/lives")
  7.    {
  8.       gotoAndStop("4");
  9.    }
  10. }
  11. else if(eval("/:lives") eq "3")
  12. {
  13.    tellTarget("/lives")
  14.    {
  15.       gotoAndStop("3");
  16.    }
  17. }
  18. else if(eval("/:lives") eq "2")
  19. {
  20.    tellTarget("/lives")
  21.    {
  22.       gotoAndStop("2");
  23.    }
  24. }
  25. else if(eval("/:lives") eq "1")
  26. {
  27.    tellTarget("/lives")
  28.    {
  29.       gotoAndStop("1");
  30.    }
  31. }
  32. set("/:s01","not");
  33. set("/:s02","not");
  34. set("/:s03","not");
  35. set("/:s04","not");
  36. set("/:s05","not");
  37. set("/:s06","not");
  38. set("/:s07","not");
  39. set("/:s08","not");
  40. set("/:s09","not");
  41. set("/:s10","not");
  42. set("/:s11","not");
  43. set("/:s12","not");
  44. set("/:s13","not");
  45. play();
  46.